<?php
/**
 * 搜索评论队列
 *
 * SearchTopicComment.class.php
 * Created by IntelliJ IDEA.
 *
 * @author: hjh <hjh@jf.com>
 *
 * Date: 2017/10/28
 * Time: 10:38
 */

require_once QUEUE_ROOT . 'class/SearchBase.class.php';

class SearchTopicComment extends SearchBase
{
    protected static $SEARCH_INDEX = self::TOPIC_COMMENT_SEARCH;

    /**
     * 获取队列[空闲时], 释放资源时间, 单位 秒
     */
    public function getSleepTime()
    {
        return 1;
    }

    /**
     * 获取队列[运行时], 间隔频率, 单位 微秒
     */
    public function getUSleepTime()
    {
        return 30000;
    }
}
